package com.example.kafka.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.kafka.domain.CabinetDoor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CabinetDoorMapper extends BaseMapper<CabinetDoor> {

    CabinetDoor queryLatestData(Integer machineId);

    List<Integer> queryAllByMachineIdIntegers();

}
